<form id="userFm" method="post" >
    <div style="width: 95%;height: 900px">
        <input type="hidden" id="id" name="id">
        <div class="field">
            <label for="uname">用户名：</label>
        </div>
        <div class="fieldContent">
            <input id="uname" class="easyui-textbox" name="username" prompt="以字母开头，6-30位数字字母下划线" style="width: 55%"  data-options="required:true,validType:'username'"/>
        </div>
        <div class="field">
            <label for="nname">昵称：</label>
        </div>
        <div class="fieldContent">
            <input id="nname" class="easyui-textbox" name="nickname" style="width: 55%" data-options="validType:'length[0,30]'"/>
        </div>
        <div class="field">
            <label for="pwd">密码：</label>
        </div>
        <div class="fieldContent">
            <input id="pwd" type="password" class="easyui-textbox" name="password" style="width: 55%" required validType="length[6,30]"/>
        </div>
        <div class="field">
            <label for="phone">电话：</label>
        </div>
        <div class="fieldContent">
            <input id="phone" class="easyui-textbox" name="phone" style="width: 55%" required validType="phone"/>
        </div>
        <div class="field">
            <label for="email">邮箱：</label>
        </div>
        <div class="fieldContent">
            <input id="email" class="easyui-textbox" name="email" style="width: 55%" validType="email"/>
        </div>
        <div class="field">
            <label for="ustyle">用户类型：</label>
        </div>
        <div class="fieldContent">
            <input id="ustyle" class="easyui-combobox"  name="usertype" prompt="请选择" style="width: 55%;" data-options="
                   required:true,
                   editable:false,
            valueField:'value',
            textField:'text',
            data:[
                {value:1,text:'管理员'},
                {value:2,text:'商家'},
                {value:3,text:'注册用户'}
            ]"/>
        </div>
        <div class="field">
            <label for="uintegral">用户积分：</label>
        </div>
        <div class="fieldContent">
            <input id="uintegral" class="easyui-textbox" name="integral" style="width: 55%;" validType="integer">
        </div>
    </div>
</form>